package filemanager
{
	import flash.filesystem.File;
	
	import mx.collections.ArrayCollection;
	public class FolderClass extends Object
	{
		
		public var label:String;
		public var path:String;
		public var children:Array;
		public var isFolder:uint=0;
		public function FolderClass(_path:String=null)
		{
			var file:File=new File(_path);
			if(_path!=null)
			{
				label=file.name;
				path=file.url;
				
				if(!file.isDirectory)
				{
					isFolder=1;
				}
			}
		}
	}
}